package com.meilai.project.dto.personnel.onTurn;

import com.meilai.project.dto.workflow.WorkFlowExtraSubmitDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * @author xchen
 * @since 2022-01-26
 */
@Data
@ApiModel
public class TransferApplyDTO extends WorkFlowExtraSubmitDTO {

 @ApiModelProperty(value = "花名册id")
 private Integer roster_id;

 @ApiModelProperty(value = "调岗原因")
 private String reason;

 @ApiModelProperty(value = "原岗位职责")
 private String old_job_duty;

 @ApiModelProperty(value = "现岗位职责")
 private String new_job_duty;

 @ApiModelProperty(value = "是否调薪  0：否  1：是")
 private Boolean change_salary;

 @ApiModelProperty(value = "调整前薪资")
 private BigDecimal before_change_salary;

 @ApiModelProperty(value = "调整后薪资")
 private BigDecimal after_change_salary;

 @ApiModelProperty(value = "生效日期")
 private LocalDate effect_date;

 @ApiModelProperty(value = "旧部门信息")
 private List<TransferApplyDeptDTO> old_dept_list;

 @ApiModelProperty(value = "新部门信息")
 private List<TransferApplyDeptDTO> new_dept_list;

}
